﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AddWorkItemControl.ascx.vb" Inherits="WebForm_AddControl_AddWorkItemControl" %>
<%@ Register Namespace="My" TagPrefix="cc1" %>
<My:MyGridView ID="gv" runat="server" AllowHoverEffect="False" AllowHoverSelect="False"
    BackColor="White" BorderColor="#3366CC" BorderWidth="1px"
    CellPadding="4" MySortDirection="Ascending"
    ShowHeader="False" SkinID="pager" TotalRowCount="0" Width="100%">
    <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
    <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
    <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
    <Columns>
        <asp:TemplateField>
            <itemtemplate>
            <asp:Label id="lblWorkItemGroup" runat="server" Text='<%# Eval("Text") %>' ></asp:Label> 
            <asp:Label id="lblItemGroupID" runat="server" Text='<%# Eval("Value") %>' Visible="False"></asp:Label> 
        </itemtemplate>
        </asp:TemplateField>
        <asp:TemplateField>
            <itemtemplate>
                <asp:CheckBoxList id="cbList" runat="server" ></asp:CheckBoxList> 
                <asp:Label id="lblSubValue" runat="server" Text='<%# Eval("SubValue") %>' Visible="False"></asp:Label> 
                <asp:Label id="lblSubText" runat="server" Text='<%# Eval("SubText") %>' Visible="False"></asp:Label> 
            </itemtemplate>
        </asp:TemplateField>
        <asp:TemplateField>
            <itemtemplate>
                共計<asp:TextBox id="txtAmount" runat="server" Width="35%"></asp:TextBox>處/個數             
            </itemtemplate>
            <itemstyle width="35%" />
        </asp:TemplateField>
    </Columns>
    <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
    <RowStyle BackColor="White" ForeColor="#003399" />
</My:MyGridView>
